package 继承;

public class 企鹅 extends Bird {
	
	@Override
	void fly() {
		System.out.println("重写了方法，企鹅是走路的");
	}
	
	public void 两开花() {
		this.fly();
		super.fly();
	}
	

}
